package com.xyht.sca_s.student_manage_system.modules.news.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyht.sca_s.student_manage_system.modules.inform.entity.vo.SmsExamineUserInfoVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class SmsNewsDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "新闻主题")
    private String newsTopic;

    @ApiModelProperty(value = "事件类型:0:重要;1:普通.")
    private String eventType;

    @ApiModelProperty(value = "新闻类型:0:学校要闻;1:学院动态;2:部门动态;3:媒体理工;4:学术动态.")
    private String newsType;

    @ApiModelProperty(value = "新闻内容")
    private String newsContent;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "新闻发布人")
    private String newsId;

    @ApiModelProperty(value = "是否已读:0:否;1:是")
    private String isRead;

    @ApiModelProperty(value = "封面图")
    private String cover;

    @ApiModelProperty(value = "发布人头像")
    private String  issuerFace;

    @ApiModelProperty(value = "收藏")
    private Integer collect;

    @ApiModelProperty(value = "收藏状态:0:取消,1:收藏")
    private Integer collectStatus;

    @ApiModelProperty(value = "点赞数")
    private Integer likes;

    @ApiModelProperty(value = "点赞状态:0:取消,1:点赞")
    private Integer likesStatus;

    @ApiModelProperty(value = "浏览人信息")
    private List<SmsExamineUserInfoVo> smsExamineUserVo;

    @ApiModelProperty(value = "浏览总数")
    private Integer viewCount;
}
